package org.weso.acota.factory;

import org.weso.acota.dao.feedback.FeedbackDAO;
import org.weso.acota.dao.feedback.FeedbackVirtuosoDAO;

public class FeedbackFactory {
	public static final String BEAN_NAME="daoFeedFactory";
	
	private FeedbackDAO fdao;
	
	public FeedbackFactory(){
		
	}
	
	public FeedbackDAO getFeedbackDAO() {
		if(fdao == null)
			fdao = new FeedbackVirtuosoDAO();
		return fdao;
	}
	
	public FeedbackDAO getFdao() {
		return fdao;
	}
	
	public void setFdao(FeedbackDAO fdao) {
		this.fdao = fdao;
	}
	
}
